package com.mangguo.tingjian.content.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 内容数据页tag配置
 * </p>
 *
 * @author auto
 * @since 2019-11-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("content_tag_conf")
public class TagConf implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * tag编号
     */
    @TableField("tagId")
    private Long tagId;

    /**
     * 父tag编号
     */
    @TableField("parentTagId")
    private Long parentTagId;

    /**
     * tag级别
     */
    @TableField("tagLvl")
    private Integer tagLvl;

    /**
     * tag名字
     */
    @TableField("tagName")
    private String tagName;

    /**
     * 归属类目：1.全网收听排行榜，2.全网运营位UV/PV
     */
    private Integer type;

    /**
     * 创建时间
     */
    @TableField("createTime")
    private LocalDateTime createTime;


}
